#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL;
namespace Cephei.QL.Experimental.Commodities
{
    /// <summary> 
	/// ! commodity index helper
	/// </summary>
    [Guid ("EA7F0D18-08D0-4c14-9C09-A222D323FC91"),ComVisible(true)]
	public interface ICommodityPricingHelper 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Double CalculateFxConversionFactor(Cephei.QL.ICurrency fromCurrency, Cephei.QL.ICurrency toCurrency, DateTime evaluationDate);
        /// <summary> 
		/// 
		/// </summary>
		 Double CalculateUnitCost(Cephei.QL.Experimental.Commodities.ICommodityType commodityType, Cephei.QL.Experimental.Commodities.ICommodityUnitCost unitCost, Cephei.QL.ICurrency baseCurrency, Cephei.QL.Experimental.Commodities.IUnitOfMeasure baseUnitOfMeasure, DateTime evaluationDate);
        /// <summary> 
		/// 
		/// </summary>
		 Double CalculateUomConversionFactor(Cephei.QL.Experimental.Commodities.ICommodityType commodityType, Cephei.QL.Experimental.Commodities.IUnitOfMeasure fromUnitOfMeasure, Cephei.QL.Experimental.Commodities.IUnitOfMeasure toUnitOfMeasure);
        /// <summary> 
		/// 
		/// </summary>
		 ICommodityPricingHelper CreatePricingPeriods(DateTime startDate, DateTime endDate, Cephei.QL.Experimental.Commodities.IQuantity quantity, QL.Experimental.Commodities.EnergyCommodity.DeliveryScheduleEnum deliverySchedule, QL.Experimental.Commodities.EnergyCommodity.QuantityPeriodicityEnum qtyPeriodicity, Cephei.QL.Experimental.Commodities.IPaymentTerm paymentTerm, Cephei.Core.IVector<Cephei.QL.Experimental.Commodities.IPricingPeriod> pricingPeriods);
    }   

    /// <summary> 
	/// ! commodity index helper Factory
	/// </summary>
   	[ComVisible(true)]
    public interface ICommodityPricingHelper_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// ASC:091123 Add missing functions
		/// </summary>
	    ICommodityPricingHelper Create ();
    }
}

